package com.chat.websocket.entity.dto;

/**
 * SunJingxuan
 * 2022 \ 08 \ 11
 */

public class MessageContentDTO extends SuperDTO {

	private Integer sendUserId;
	private Integer receiveUserId;

	public MessageContentDTO() {}

	public MessageContentDTO(Integer sendUserId, Integer receiveUserId) {
		this.sendUserId = sendUserId;
		this.receiveUserId = receiveUserId;
	}

	public MessageContentDTO(Integer pageIndex, Integer pageSize, Integer sendUserId, Integer receiveUserId) {
		super(pageIndex, pageSize);
		this.sendUserId = sendUserId;
		this.receiveUserId = receiveUserId;
	}

	public Integer getSendUserId() {
		return sendUserId;
	}

	public void setSendUserId(Integer sendUserId) {
		this.sendUserId = sendUserId;
	}

	public Integer getReceiveUserId() {
		return receiveUserId;
	}

	public void setReceiveUserId(Integer receiveUserId) {
		this.receiveUserId = receiveUserId;
	}

	@Override
	public String toString() {
		return "MessageContentDTO{" +
				"sendUserId=" + sendUserId +
				", receiveUserId=" + receiveUserId +
				'}';
	}
}
